package command_pattern;

public class CommandControl {
	Command cmd ;
	public void setcommand(Command command){
		cmd = command;
	}
	public void buttonpressed(){
		cmd.excute();
	}
}
